package com.entity.model;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
 

/**
 * 接收传参的实体类  
 *（实际开发中配合接口开发手动去掉些没用的字段， 后端一般用entity就够用了）
 * 取自ModelAndView 的model名称
 */
public class DiscussshangpinxinxiModel  implements Serializable {
	private static final long serialVersionUID = 1L;

	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;
	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

              
	    private String nickname;
	    public void setNickname(String nickname) {
		    this.nickname = nickname;
	    }
	    public String getNickname() {
		    return nickname;
	    }
        
	    private String content;
	    public void setContent(String content) {
		    this.content = content;
	    }
	    public String getContent() {
		    return content;
	    }
        
	    private String reply;
	    public void setReply(String reply) {
		    this.reply = reply;
	    }
	    public String getReply() {
		    return reply;
	    }
        
			
}

